Stage/dweb next merge#747
Conversation
feat: add DWeb server control to SnowbirdFragment and update service …
|
|
||
|
|
||
| DwebOptionItem( | ||
| title = "My groups", |
Check warning
Code scanning / detekt
Reports lines with exceeded length Warning
|
|
||
|
|
||
| DwebOptionItem( | ||
| title = "My groups", |
Check warning
Code scanning / detekt
Reports incorrect argument list wrapping Warning
|
|
||
|
|
||
| DwebOptionItem( | ||
| title = "My groups", |
Check warning
Code scanning / detekt
Reports incorrect argument list wrapping Warning
|
|
||
|
|
||
| DwebOptionItem( | ||
| title = "My groups", |
Check warning
Code scanning / detekt
Reports incorrect argument list wrapping Warning
|
|
||
|
|
||
| DwebOptionItem( | ||
| title = "My groups", |
Check warning
Code scanning / detekt
Reports incorrect argument list wrapping Warning
| } else { | ||
| MaterialTheme.colorScheme.onSurfaceVariant.copy(alpha = 0.38f) | ||
| } | ||
| ) |
Check warning
Code scanning / detekt
Function names should follow the naming convention set in the configuration. Warning
Check warning
Code scanning / detekt
Function names should follow the naming convention set in the configuration. Warning
Check warning
Code scanning / detekt
Private function is unused and should be removed. Warning
| } | ||
|
|
||
| // Give it a moment to clean up | ||
| delay(500) |
Check warning
Code scanning / detekt
Report magic numbers. Magic number is a numeric literal that is not defined as a constant and hence it's unclear what the purpose of this number is. It's better to declare such numbers as constants and give them a proper name. By default, -1, 0, 1, and 2 are not considered to be magic numbers. Warning
|
|
||
| updateStatus(ServiceStatus.Stopped) | ||
| Timber.d("Server shutdown complete") | ||
| } catch (e: Exception) { |
Check warning
Code scanning / detekt
The caught exception is too generic. Prefer catching specific exceptions to the case that is currently handled. Warning
|
Invalid |
No description provided.